package com.ldu.pojo;

import com.ldu.controller.AdminController;
import lombok.Data;

/**
 * All rights Reserved, Designed By www.maihaoche.com
 *
 * @Package com.ldu.pojo
 * @author: 皮皮（pipi@maihaoche.com）
 * @date: 2019/3/30 12:59 AM
 * @Copyright: 2017-2020 www.maihaoche.com Inc. All rights reserved.
 * 注意：本内容仅限于卖好车内部传阅，禁止外泄以及用于其他的商业目
 */
@Data
public class Result {

    private Boolean success;

    private String msg;

    public static Result create(Boolean success, String msg) {
        Result result = new Result();
        result.setSuccess(success);
        result.setMsg(msg);
        return result;
    }
}
